package com.link.base.base.accnt.dao.mybatis.mapper;

import com.link.base.base.accnt.model.QdAccountQd;
import com.link.core.basic.dao.mapper.BasicMapper;
/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  unknwon
 * @date:   2018/11/7 17:22
 * @version 1.0
 */

public interface QdAccountQdMapper extends BasicMapper<QdAccountQd> {
    /**
     * 删除客户和企点客户中间表信息
     * @param qdAccountQd
     * @throws Exception
     */
    public void deleteAccountQd(QdAccountQd qdAccountQd) throws Exception;

    /**
     * 插入数据
     * @param qdAccountQd
     * @throws Exception
     */
    public void insertAccountQd(QdAccountQd qdAccountQd) throws Exception;

    /**
     * 根据企点客户id以及客户id来判断是否在中间表中存在数据
     * @param qdAccountQd
     * @return
     * @throws Exception
     */
    public QdAccountQd queryByAccntIdAndQdAccntId(QdAccountQd qdAccountQd) throws Exception;
}
